package com.quanyan.messagepush.entity;

/**
 * Created by zhuo.shi on 2016/7/15.
 */
public class Option {

    private Integer type;           //选项类型 1: 同意 2: 拒绝 3: 开始聊天
    private String text;            //选项提示
    private Action action;          //选项的动作

    public Option() {}

    public Option(Integer type, String text, Action action) {
        this.type = type;
        this.text = text;
        this.action = action;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public Action getAction() {
        return action;
    }

    public void setAction(Action action) {
        this.action = action;
    }
}
